<?php 
	include("include/init.php");

	$pay_id = new sql_class("product");//实例化一个对象

	$product_id = isset($_POST['ProductID']) ? $_POST['ProductID']:0;
	$product_name = isset($_POST['product_name']) ? $_POST['product_name']:0;//传输到pay页面文字

	if(!$product_id){
		show_msg("请重新选择","pro_list.php");
		exit;
	}


	$smarty->assign("product_name",$product_name);

	$smarty->display("pay.html");




?>